.navbar-brand {
  font-size: 18px;
  margin-right: 10px;
  background: url(~images/logo.png) center left no-repeat;
  background-size: 45px 45px;
  padding-left: 48px;
  width: 0;
  overflow: hidden;

  img {
    height: 45px;
    vertical-align: middle;
  }
  @include breakpoint(md) {
    width: auto;
    display: inline-block;
  }
  .blue {
    color: darken($primary, 5%);
  }

  .fas {
    font-size: 22px;
    margin-bottom: -3px;
  }
  color: #8B96AD;
  text-decoration: none !important;

  &:hover {
    .blue {
      color: darken($primary, 8%);
    }
    color: darken(#8B96AD, 2%) !important;
  }

}

.nav-header {
  width: 100%;
  height: 50px;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0px 1px 0px 0px rgb(242, 242, 242), 0px 1px 4px 0px rgba(0, 0, 0, 0.05);
  .header-shadow {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.1);
  }
  .header-content {
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;

    .navbar.admin-navbar {
      display: flex;
      align-items: center;
    }
  }
  .dropdown {
    margin-left: 10px;
    padding: 10px 5px;
    .fas {
      font-size: 1.25em;
    }
  }
  .nav-notifications {
    position: relative;
    &.unread {
      &::after {
        position: absolute;
        content: '';
        top: 6px;
        right: 1px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #FF4B4B;
      }
    }
  }
  .dropdown-menu {
    font-size: 14px;
    color: $text-main;
    margin-top: 2px;
  }
  .avatar {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
  }
  .nav-link {
    margin-left: 8px;
  }
  .search {
    display: none;
    @include breakpoint(md) {
      display: block;
    }
  }
}

.subnav-search-context {
  .autocomplete-results {
    margin-top: 3px;
    width: 320px;
    padding: 8px;
    border-radius: 5px;

    .autocomplete-item {
      display: inline;
      padding: 0;
      a {
        border-radius: 3px;
        padding: 5px;
        text-decoration: none;
        font-weight: normal;
        display: block;
        @extend .clearfix;

        .scope-name {
          color: #aaa;
          background: #f7f7f7;
          border-radius: 3px;
          padding: 2px 4px;
        }
      }

      &:hover {
        a {
          color: #fff !important;
          background: $primary;
          .scope-name {
            color: #f0f0f0;
            background: transparent;
          }
        }
      }
    }
  }
}
